export function cleanObject<T extends { [key: string]: any }>(obj: T): T {
  return Object.fromEntries(Object.entries(obj).filter(([, value]) => value !== null && value !== undefined)) as T;
}
